<h1>New article</h1>

<% form_for :article, :url => {:action => :create} do |f| %>
	<p><b>Title</b><br /> <%= f.text_field :title %></p>
	<p><b>Author</b><br /> <%= f.text_field :author%></p>
	<p><b>Section</b> <%= f.select(:section, [['Feature'],['News'],['Style'],['Sports'],['Opinion']])%>
	<p><b>Body</b><br /><%= f.text_area :body %></p>
	<p><b>Image URL</b><br /> <%= f.text_field :image_url %></p>
	
	<p><%= submit_tag "Create" %></p>
<% end %>

<%= link_to 'Back', :action => 'list' %>

